Dynamic Optimization Option Search in GCC
نویسندگان
چکیده
A set of carefully selected compiler optimization options could provide an additional performance boost over the current best default optimization options in the GNU Compiler Collection (GCC) C compiler. However, there are more than 60 optimization options in GCC compiler, which translate to over 260 possible combinations. GCC compiler developers are therefore faced with a challenge. The goal is to automate the process of optimization search, taking into consideration the properties of the program. The resulting customized set of options is aimed at out performing the best default options available in GCC. In this paper, we present a novel machine-learning based method for dynamic optimization option search in GCC compiler, which automatically derives the best candidate set of optimization options based on the input program properties. An automated program analysis considers input program objects such as selected functions, program segments, or even the whole programs. The preliminary tests show that this method provides better performance over any default optimization level including -O3, while the additional compilation time remains minimal.
منابع مشابه
Optimization in Uncertain and Complex Dynamic Environments with Evolutionary Methods
In the real world, many of the optimization issues are dynamic, uncertain, and complex in which the objective function or constraints can be changed over time. Consequently, the optimum of these issues is changed nonlinearly. Therefore, the optimization algorithms not only should search the global optimum value in the space but also should follow the path of optimal change in dynamic environmen...
متن کاملA Framework for Adapting Population-Based and Heuristic Algorithms for Dynamic Optimization Problems
In this paper, a general framework was presented to boost heuristic optimization algorithms based on swarm intelligence from static to dynamic environments. Regarding the problems of dynamic optimization as opposed to static environments, evaluation function or constraints change in the time and hence place of optimization. The subject matter of the framework is based on the variability of the ...
متن کاملDYNAMIC PERFORMANCE OPTIMIZATION OF TRUSS STRUCTURES BASED ON AN IMPROVED MULTI-OBJECTIVE GROUP SEARCH OPTIMIZER
This paper presents an improved multi-objective group search optimizer (IMGSO) that is based on Pareto theory that is designed to handle multi-objective optimization problems. The optimizer includes improvements in three areas: the transition-feasible region is used to address constraints, the Dealer’s Principle is used to construct the non-dominated set, and the producer is updated using a tab...
متن کاملOptimum Design of Scallop Domes for Dynamic Time History Loading by Harmony Search-Firefly Algorithm
This paper presents an efficient meta-heuristic algorithm for optimization of double-layer scallop domes subjected to earthquake loading. The optimization is performed by a combination of harmony search (HS) and firefly algorithm (FA). This new algorithm is called harmony search firefly algorithm (HSFA). The optimization task is achieved by taking into account geometrical and material nonlinear...
متن کاملFluid Injection Optimization Using Modified Global Dynamic Harmony Search
One of the mostly used enhanced oil recovery methods is the injection of water or gas under pressure to maintain or reverse the declining pressure in a reservoir. Several parameters should be optimized in a fluid injection process. The usual optimizing methods evaluate several scenarios to find the best solution. Since it is required to run the reservoir simulator hundreds of times, the process...
متن کامل